home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6996 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
  4. Subject: Re: Relative Speed of Perl vs. Tcl vs. C
  5. Date: 16 Feb 1996 18:15:25 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4g3dntINNna1@keats.ugrad.cs.ubc.ca>
  8. References: <4e3a2u$eoa@wcap.centerline.com> <4flm87$m0c@csnews.cs.colorado.edu> <4fnus0$qrc@hades.rz.uni-sb.de> <4fpi0k$i6v@ns2.ryerson.ca>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4fpi0k$i6v@ns2.ryerson.ca>,
  12. Al Aab - CNED/W94 <aaab@acs.ryerson.ca> wrote:
  13.  >JAVA's lack of pointers is intentional.
  14.  >Security.
  15.  
  16. I don't think so. Try "portability" and "abstraction". You don't need pointers
  17. if you 1) have abstract identifiers for referencing objects that can be
  18. dynamically created, 2) don't intend to access arrays of objects known to be
  19. consecutively stored in memory, or 3) pretend that an object of one type is
  20. really an object of another type. Pointers impose all kinds of constraints and
  21. increase the possibility of programs whose behavior is not portable from one
  22. environment ot another.
  23.  
  24. Having the ability to dereference addresses is not a security violation in
  25. itself. I'm on a time-sharing system with 10 other people, writing code full
  26. of pointers, some of whose dereferences sometimes go haywire.   Of course, it
  27. is a consideration under current Windows systems.
  28. -- 
  29.  
  30.